<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .full {
            height: 100%;
            width: 100%;
        }
    </style>
    <script src="node_modules/jquery/dist/jquery.js"></script>
    <script src="dist/1.2.3/midway/midway.umd.js"></script>
    <script src="dist/1.2.3/midway/facade.umd.js"></script>
</head>
<body class="full">
<div style="width: 1200px; height: 960px;" id="demo"></div>

<script>
    //中间层组件的配置
    Midware.globalConfig({LanguageBasePath: "ref/languages", ComponentBasePath: "ref/js-library"});
    Midware.startup({async: false});
    //中间层容器的配置
    /*Midway.config({JsLibraryPath: "ref/js-library", BundlePath: "ref/presenters"});
    Midway.runMidway().done(function () {
        let demo = new Midway.Bundle({
            el: "#demo",
            launcher: "RandomRollCall",
            model: {}
        });
        demo.start();
    });*/
</script>
</body>
</html>